﻿using DA;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BL
{
    public class RapBL
    {
         RapDA rapDA;

         public RapBL()
        {
            rapDA = new RapDA();
        }

        public DataSet timKiemRap(string maRap)
        {
            return rapDA.timKiemRap(maRap);
        }

        public void updateRap(DataTable dt)
        {
            rapDA.danhSachRapAdapter.Update(dt);
        }
    }
}
